Skip to content

Fix: the CAMAC libraries now accept connection IDs of zero#3028

Merged
mwinkel-dev merged 2 commits intoMDSplus:alphafrom
mwinkel-dev:mw-3024-camac
Feb 24, 2026
Merged

Fix: the CAMAC libraries now accept connection IDs of zero#3028
mwinkel-dev merged 2 commits intoMDSplus:alphafrom
mwinkel-dev:mw-3024-camac

Conversation

@mwinkel-dev
Copy link
Contributor

This fixes Issue #3024.

PR #2288 redefined INVALID_CONNECTION_ID to be -1 (it used to be zero). This fix changes two CAMAC libraries, libCamShr.so and libRemCamShr.so, to accept zero as a valid connection ID. Developer builds of the libraries were tested by the user and confirmed to fix the problem. This fix needs to be included in a new "stable" release.

@mwinkel-dev mwinkel-dev self-assigned this Feb 20, 2026
@mwinkel-dev mwinkel-dev added US Priority tool/mdsip Relates to one of the MDSplus over IP tools (mdsipd, mdsipsd, mdsip_server) devices Relates to devices (c devices, tdi devices, python devices, java devices, device_support, etc) labels Feb 20, 2026
@mwinkel-dev
Copy link
Contributor Author

Retest this please

@WhoBrokeTheBuild
Copy link
Member

Like all other things with this change, it will now work with modern MDSplus but will no longer work well with MDSplus before Timo's change, but this LGTM

@mwinkel-dev mwinkel-dev merged commit 8a85400 into MDSplus:alpha Feb 24, 2026
1 check passed
@mwinkel-dev
Copy link
Contributor Author

PPPL confirmed that the two MDSplus servers involved with the CAMAC devices will both be running the forthcoming stable release. Thus, this CAMAC fix will work fine on those servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devices Relates to devices (c devices, tdi devices, python devices, java devices, device_support, etc) tool/mdsip Relates to one of the MDSplus over IP tools (mdsipd, mdsipsd, mdsip_server) US Priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants